package com.example.service;

import com.example.entity.User;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

/**
 * @Title: spring-boot-druid
 * @Package com.example.service
 * @Date 2018/5/8下午6:05
 * @Author PX ye
 * @E-mail yepx2013@gmail.com
 * @Company http://www.yiautos.com
 * @Description: ${todo}
 */
public interface UserService {

    List<User> getUserAll();

    User getUser(Long id);

    void deleteUser(Long id);
}
